<%@ include file="/Pages/Jsp/Common/header.jsp"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %> 
<html>
<head>
<script language="javascript" type="text/javascript" src="<%=request.getContextPath()%>/Pages/Js/forum.js"></script>
<link type="text/css"
			href="<%=request.getContextPath()%>/Pages/Css/main.css"
			rel="stylesheet" />
		<link type="text/css"
			href="<%=request.getContextPath()%>/Pages/Css/forum/createForum.css"
			rel="stylesheet" />
<title>
Create Forum-EKMS
</title>
</head>
<body>
<div class="out_box">
	<form name="frmCreateGroup" action="<%=request.getContextPath()%>/forum/createForum.do?action=create" method="post">
	<div class="site_map">
				<span><a href="#">home</a> </span><span class="path_image">&gt;&gt;</span><span><a
					href="#" class="a2">forum</a> </span>
			</div>
	<div class="error_message">
	<div id="NoticeField">	
		<br><logic:present name="Success">
			<div>
				<b>u${Success}</b>
			</div>
		</logic:present>
		<logic:present name="Failed">
			<div>
				<b>${Failed}</b>
			</div>
		</logic:present>
	</div>
    </div>
    <div class="title">
    	<h1>
    	 Create Forum
    	</h1>
		
	</div> 
	<div class="content">
		<div class="name_input">
			<label for="forumName"><span>*</span>Forum Name:</label>
			<input id="ForumName" name="forumName" 
			 class="name_text_input" type="text" maxlength="20">
		</div>
		<div class="active_select">
	         <label for="active"><span class="errtxt">*</span>Active:</label>
	         <select id="hiddenForumStatus"  class="active_select_control" name="active">
					<option value="0">Yes</option>
					<option value="1">No</option>
    		</select>
	    </div>
	   	<div class="description_title">
	         <label for="description"> Description:</label>
	         <div>
	         <textarea  class="des_input" name="description"
	          onkeydown="check(this,100)"></textarea>
	          </div>
	    </div>
	</div>
	<div class="button_links">
	    <div class = "">
            <input value="Create" type="submit" >&nbsp;
            <input value="Reset" type="reset">&nbsp;
            <input value="Back" type="button" onclick="window.location.href='<%=request.getContextPath()%>/forum/visitForum.do?action=listForum'">
          <br></div> 
	</div>
	    
       	<div class="requiredNotice notice span-10" style="display:none">
       	</div>
       	<div style="height:20px;"></div>    
     
     </form>
   </div>
</body>
<jsp:include page="/Pages/Jsp/Common/footer.jsp"></jsp:include>
</html>